var op = document.querySelectorAll('p')
for (var i = 0; i < op.length; i++) {
 op[i].style.color='red'
}